package csu.web.mypetstore.utils;

public enum StatusCode {

    SUCCESS(1000, "Success"),

    ERROR(2000, "Error");

    private int code;
    private String message;

    StatusCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
